package Arbore;

import visitor.Visitor;

public class ArboreFunctional {
    private Nod radacina;

    public ArboreFunctional(Nod radacina){
        this.radacina=radacina;
    }

    public Nod getRadacina() {
		return radacina;
	}

	public void setRadacina(Nod radacina) {
		this.radacina = radacina;
	}

	public void acceptVisitor (Visitor v) {
		v.visit(radacina);
	}
}
